import request from '@/utils/request'

// 标签关系列表
export function tag_relationList(params) {
  return request({
    url: '/mapi/tag_relation/list',
    method: 'get',
    params
  })
}

// 宝宝详情
export function childrenDetail(params) {
  return request({
    url: '/mapi/children/detail',
    method: 'post',
    params
  })
}

// 宝宝编辑
export function tag_relationAdd(params) {
  return request({
    url: '/mapi/tag_relation/add',
    method: 'post',
    params
  })
}

// 删除
export function tag_relationDelete(params) {
  return request({
    url: '/mapi/tag_relation/delete',
    method: 'post',
    params
  })
}
